package entity;

import control.ForecastEngine;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.validation.constraints.NotNull;

/**
 *
 * @author MONESI
 */
@Entity(name = "SEARCHUSER")

public class ResearchUser implements Serializable  {

    
    @Id
    public int id;
    
    private String mail;
       
    private String searchedUser;
  
    
    private static final long serialVersionUID = 1L;
    
    
    public void setId(int i){
        this.id=i;
    }
    
    public int getId(){
        return id;
    }
    
    public void setMail(String mail){
        this.mail=mail;
    }
    
    public String getMail(){
        return this.mail;
    }
    
    public void setSearchedUser (String user){
        this.searchedUser = user;
    }
    
    public String getSearchedUser (){
        return this.searchedUser;
    }
    
    
}
